package com.lagou.springboot.work.dao;

import com.lagou.springboot.work.dto.ArticleDTO;
import com.lagou.springboot.work.entity.ArticleEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleDao {

    ArticleEntity findById(int id);

    List<ArticleEntity> findPages(ArticleDTO ArticleDTO);

}
